package org.dromara.app.domain.bo;

import org.dromara.app.domain.SkAppUser;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * app用户业务对象 sk_app_user
 *
 * @author Evacuation
 * @date 2024-07-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SkAppUser.class, reverseConvertGenerate = false)
public class SkAppUserBo extends BaseEntity {

    /**
     * ID
     */
    private Long id;

    /**
     * 类型1：普通用户 2：达人用户
     */
    private Long userType;

    /**
     * 头像
     */
    private String headImage;

    /**
     * 昵称
     */
    private String nickName;

    /**
     * 性别
     */
    private String sex;

    /**
     * 生日
     */
    private String birthday;

    /**
     * 身高
     */
    private String height;

    /**
     * 学历
     */
    private String education;

    /**
     * 擅长
     */
    private String beGoodAt;

    /**
     * 个性标签
     */
    private String personalityTag;

    /**
     * 1:鐧介摱浼氬憳  2锛氶粍閲戜細鍛? 3锛氶捇鐭充細鍛?
     */
    private String vipTime;

    /**
     * 个性签名
     */
    private String personalitySign;

    /**
     * 会员等级
     */
    private Long vipType;

    /**
     * 欢迎语
     */
    private String welcome;

    /**
     * 真实姓名
     */
    private String realName;

    /**
     * 身份证号
     */
    private String idCard;

    /**
     * 用户余额
     */
    @NotNull(message = "用户余额不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long price;

    /**
     * 密码
     */
    private String password;

    /**
     * 交易密码
     */
    private String jyPassword;


    private Long isTgDaren;


    private Long isHehuo;

    /**
     * 城市
     */
    private String city;

    private String phone;

    /**
     * 邀请人ID
     */
    private Long yqUserId;
}
